package com.stone.customer.console.config;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.service.Tag;
import springfox.documentation.spring.web.plugins.Docket;

@Configuration
public class MonsterCustomerApiConfig {

    public static final String SWAGGER_DOCUMENT = "customer-console service";

    @Autowired
    public MonsterCustomerApiConfig(Docket docket) {
        docket.tags(
                new Tag(SWAGGER_DOCUMENT, "customer-console 会员管理服务")
        );
    }
}